<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>VUE</title>
</head>
<body>
<style>
    a{
        text-decoration: none;
    }
</style>
<a href="https://www.baidu.com">xxxx</a>
<div id="app">
    <img src="sql.png" v-show="true" alt="加载失败">
    <input type="button" value="反转222" onclick="xxx.changeShow()">
    <input type="button" value="反转" v-on:click="changeShow"><br>
    <input type="button" value="+" v-on:click="add1">
    <p>{{see}}</p>
    <p>{{num}}</p>
    <img src="sql.png" v-show="see" alt="加载失败">
</div>
<!-- 开发环境版本，包含了有帮助的命令行警告 -->
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<script>
    var xxx = new Vue({
        el: '#app',
        data: {
            num:1,
            see:false
        },
        methods:{
            changeShow: function (){
                this.see=!this.see;
                this.num++
            },
            add1: function (){this.num++;}

        }
    })
</script>


</body>
</html>